package misp_backend.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.List;

import lombok.Data;

/**
 * 
 * @TableName dishes
 */
@TableName(value ="dishes")
@Data
public class Dishes extends BaseEntity{
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long dishId;

    /**
     * 
     */
    private String dishName;

    /**
     * 
     */
    private BigDecimal price;

    /**
     * 
     */
    private String description;

    /**
     * 
     */
    private Long categoryId;

    /**
     * 
     */

    @TableField(exist = false)
    private  String categoryName;

    @TableField(exist = false)
    private List<DishTypeRela> dishTypeRelaList;//得到一个菜品有哪些口味选项，如熟度，酱汁
}